/**
 * @author florian
 */
// application main entry point

Ext.BLANK_IMAGE_URL = './lib/ext/resources/images/default/s.gif';
Ext.ns('PictureManagAir');

Ext.onReady(function(){

    Ext.QuickTips.init();
    
    if (Ext.isAir) { // create AIR window
        var win = new Ext.air.MainWindow({
            layout: 'border',
            title: Ext.fly('page-title').dom.innerHTML,
            items: [{
                region: 'center',
                xtype: 'maintabpanel'
            }],
            iconCls: 'icon-show-all'
        }).render();
    }
    else {
        var viewport = new Ext.Viewport({
            layout: 'border',
            title: Ext.fly('page-title').dom.innerHTML,
            items: [{
                region: 'center',
                xtype: 'maintabpanel'
            }],
            renderTo: Ext.getBody()
        });
    }
    
}); // eo function onReady
// eof
